package com.xiaoxu.intranetweb.mybatisplusSzappdb.entity;

import com.baomidou.mybatisplus.annotation.TableName;
import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.io.Serializable;
import java.math.BigDecimal;
import java.time.LocalDateTime;

/**
 * <p>
 * 车辆排队信息表
 * </p>
 *
 * @author xiaoxu
 * @since 2022-12-27
 */
@TableName("c_trucks_update")
@ApiModel(value = "CTrucksUpdate对象", description = "车辆排队信息表")
@Data
public class CTrucksUpdate implements Serializable {

    private static final long serialVersionUID = 1L;

    private String id;

    @ApiModelProperty("6")
    private BigDecimal trucksId;

    private BigDecimal trucksSn;

    private String trucksTruckno;

    private String trucksTrailerno;

    @ApiModelProperty("0.未知 1.罐车 2.翻斗车 3.船 4 闲杂")
    private BigDecimal trucksType;

    @ApiModelProperty("0.无；1.特派；")
    private BigDecimal trucksPriv;

    @ApiModelProperty("0.未知；1.国一；2.国二....")
    private BigDecimal trucksEmiss;

    @ApiModelProperty("0.未知；1.一轴；2.两轴....")
    private BigDecimal trucksAxles;

    @ApiModelProperty("车长（单位：米）")
    private BigDecimal trucksLength;

    @ApiModelProperty("车主")
    private String trucksMaster;

    @ApiModelProperty("证件号")
    private String trucksIdentity;

    @ApiModelProperty("电话")
    private String trucksTell;

    @ApiModelProperty("标签1（电子身份证）")
    private String trucksTag1;

    @ApiModelProperty("标签2（电子身份证）")
    private String trucksTag2;

    @ApiModelProperty("标签3（电子身份证）")
    private String trucksTag3;

    @ApiModelProperty("参考皮重（吨）")
    private BigDecimal trucksRefTare;

    @ApiModelProperty("参考净重（吨）")
    private BigDecimal trucksRefNet;

    @ApiModelProperty("下次刷卡排队与本次出厂的最小时间间隔(分钟)")
    private BigDecimal trucksAgainMinTm;

    @ApiModelProperty("指派品种")
    private String trucksDispatchPdt;

    @ApiModelProperty("厂方指定下派此车到哪个单位")
    private String trucksDispatchCo;

    @ApiModelProperty("指派时间")
    private LocalDateTime trucksDispatchTm;

    @ApiModelProperty("指派人")
    private String trucksDispatcher;

    @ApiModelProperty("备注")
    private String trucksRemark;

    @ApiModelProperty("CheckIn序号（排队序号）")
    private BigDecimal trucksCheckinNo;

    @ApiModelProperty("CheckIn登记卡号")
    private String trucksCheckinCardno;

    @ApiModelProperty("CheckIn登记单位ID（companys表中uuid后面一个）")
    private String trucksCheckinCo;

    @ApiModelProperty("CheckIn登记的标签号")
    private String trucksCheckinTag;

    @ApiModelProperty("CheckIn品种ID（productinf表中uuid后面一个）")
    private String trucksCheckinPdt;

    @ApiModelProperty("CheckIn品种编号（productinf表中uuid后后面一个）")
    private BigDecimal trucksCheckinPdtsn;

    @ApiModelProperty("CheckIn运输单位ID（companys表中uuid后面一个）")
    private String trucksCheckinCoTran;

    @ApiModelProperty("批次索引号,如190513001（年月日+3位数）")
    private String trucksCheckinBatchSn;

    @ApiModelProperty("批次号，如201905101P001（年月+厂编号+批号）")
    private String trucksCheckinBatch;

    @ApiModelProperty("CheckIn装载点（每个品种装载点在syscfg中配置）")
    private String trucksCheckinLoadsite;

    @ApiModelProperty("司机姓名")
    private String trucksCheckinDriver;

    @ApiModelProperty("司机电话")
    private String trucksCheckinDriverPhone;

    @ApiModelProperty("CheckIn时预扣的吨数")
    private BigDecimal trucksPreDeduct;

    @ApiModelProperty("票毛（进货类在出货方仓库出厂总重，含车重）")
    private BigDecimal trucksBillGross;

    @ApiModelProperty("票皮")
    private BigDecimal trucksBillTare;

    @ApiModelProperty("票净")
    private BigDecimal trucksBillNet;

    @ApiModelProperty("发站（火车发运始发站）")
    private String trucksDepStation;

    @ApiModelProperty("小船名")
    private String trucksBoat;

    @ApiModelProperty("大船名")
    private String trucksShip;

    @ApiModelProperty("矿点")
    private String trucksMineral;

    @ApiModelProperty("煤种（如烟煤，褐煤等）")
    private String trucksCoaltype;

    @ApiModelProperty("装货时间")
    private LocalDateTime trucksShipTm;

    @ApiModelProperty("发货时间")
    private LocalDateTime trucksDelyTm;

    @ApiModelProperty("CheckIn时间")
    private LocalDateTime trucksCheckinTm;

    @ApiModelProperty("叫号时间")
    private LocalDateTime trucksCallinTm;

    @ApiModelProperty("进门时间")
    private LocalDateTime trucksEnterTm;

    @ApiModelProperty("进磅时间")
    private LocalDateTime trucksPoundinTm;

    @ApiModelProperty("回磅时间")
    private LocalDateTime trucksPoundoutTm;

    @ApiModelProperty("CheckIn操作员")
    private String trucksCheckinOperator;

    @ApiModelProperty("车辆信息注册人员")
    private String trucksRegMan;

    @ApiModelProperty("安装人（安装标签的人员）")
    private String trucksFixMan;

    @ApiModelProperty("安装时间")
    private LocalDateTime trucksFixTm;

    @ApiModelProperty("排队前一个状态字")
    private BigDecimal trucksQueuePreStatus;

    @ApiModelProperty("排队现在状态子字（1等待、2请进、3已进、4预备 5正装 6装完 0已出厂，复位）")
    private BigDecimal trucksQueueStatus;

    @ApiModelProperty("采样状态（。。。）")
    private BigDecimal trucksSampling;

    @ApiModelProperty("服务端更新时间戳")
    private LocalDateTime svrTmstamp;

    @ApiModelProperty("客户端更新时间戳")
    private LocalDateTime cliTmstamp;

    @ApiModelProperty("CheckIn动作已核对完成（或已排队识别）")
    private Integer trucksCheckinIdentied;

    @ApiModelProperty("已进门。刷卡进门后，允许有几分钟的延时时间过磅")
    private Integer trucksEntered;

    @ApiModelProperty("已抛锚")
    private Integer trucksBreakdown;

    @ApiModelProperty("车辆违规，无故逗留")
    private Integer trucksLinger;

    @ApiModelProperty("参考皮重已初始化")
    private Integer trucksRefTareInited;

    @ApiModelProperty("必须排队")
    private Integer trucksMustQueue;

    @ApiModelProperty("必须识别排队")
    private Integer trucksIdentyQueue;

    @ApiModelProperty("必须识别装车")
    private Integer trucksIdentyLoad;

    @ApiModelProperty("车辆登记信息已批准")
    private Integer trucksInfoApproved;

    @ApiModelProperty("已删除")
    private Integer trucksDeleted;

    @ApiModelProperty("新记录（或已经被更新过的记录，每次更新，置1），2表示执行撤销")
    private Integer trucksNew;

    @ApiModelProperty("下载ID1（对于服务器端，标记哪个终端已下载此信息）")
    private Integer downedid1;
    private  Integer downedid2;
    private  Integer downedid3;
    private  Integer downedid4;
    private  Integer downedid5;
    private  Integer downedid6;
    private  Integer downedid7;
    private  Integer downedid8;
    private Integer downedid9;
    private Integer downedid10;
    private Integer downedid11;
    private Integer downedid12;
    private Integer downedid13;
    private Integer downedid14;
    private Integer downedid15;
    private Integer downedid16;
    private Integer downedid17;
    private Integer downedid18;
    private Integer downedid19;
    private Integer downedid20;

    @ApiModelProperty("提交类型 0未知1增2删3改4备用5排队6取消排队7客户自主取消 8我和你再想想还有什么")
    private Integer updateType;

    @ApiModelProperty("是否处理 0未处理   >0 已处理,1为正在处理，2处理完成")
    private String handled;

    private LocalDateTime handledTime;

    private LocalDateTime handled2Time;

    private LocalDateTime handled3Time;

    private LocalDateTime handled4Time;

    private LocalDateTime handled5Time;

    private LocalDateTime handled6Time;

    private LocalDateTime handled7Time;

    private LocalDateTime handled8Time;

    @ApiModelProperty("处理结果编码")
    private Integer handledResult;

    @ApiModelProperty("和处理结果消息")
    private String handledResultStr;

    @ApiModelProperty("数据来源厂区")
    private String dataFrom;

}
